home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Willard Press Kit
/
Willard Press Kit.iso
/
mac
/
Acrobat Reader 5
/
Acrobat Reader 5.0
/
Acrobat Reader 5.0.rsrc
/
EXVW_10033_admLinkProps
< prev
next >
Wrap
Text File
|
2001-09-24
|
5KB
|
141 lines
gMaxAppearanceWidth=max(
zstring_width(zstring: '$$$/Dialogs/LinkProps/Type'),
zstring_width(zstring: '$$$/Dialogs/LinkProps/Highlight'));
gMaxWidthColorStyleWid=max(
zstring_width(zstring: '$$$/Dialogs/LinkProps/Width'),
zstring_width(zstring: '$$$/Dialogs/ActionProps/Color'),
zstring_width(zstring: '$$$/Dialogs/LinkProps/Style'));
gLinkTypeWidth=max(
zstring_width(zstring: '$$$avLinkInvisible'),
zstring_width(zstring: '$$$avLinkRectangle'));
gLinkHighlightWidth=max(
zstring_width(zstring: '$$$avLinkNone'),
zstring_width(zstring: '$$$avLinkInset'),
zstring_width(zstring: '$$$avLinkOutline'),
zstring_width(zstring: '$$$avLinkInvert'));
gLinkStyleWidth=max(
zstring_width(zstring: '$$$avLinkBorderSolid'),
zstring_width(zstring: '$$$avLinkBorderDashed'));
gLinkThicknessWidth=max(
zstring_width(zstring: '$$$avLinkWidthThin'),
zstring_width(zstring: '$$$avLinkWidthThick'));
gMaxZoomWidth=max(
zstring_width(zstring: '$$$avFixedZoom'),
zstring_width(zstring: '$$$avFitView'),
zstring_width(zstring: '$$$avFitPage'),
zstring_width(zstring: '$$$avFitHeight'),
zstring_width(zstring: '$$$avFitWidth'),
zstring_width(zstring: '$$$avFitVisible'),
zstring_width(zstring: '$$$avInheritZoom'));
gEditButtonWidth = max(
zstring_width( zstring: '$$$avEditDest'),
zstring_width( zstring: '$$$avOpenFileButtonText'),
zstring_width( zstring: '$$$avThreadActionButtonText'),
zstring_width( zstring: '$$$avExecMenuButtonText')) + (max_char_width() * 4);
dialog(name: '$$$/Dialogs/LinkProps')
{
view(align_children: align_right)
{
cluster(name: '$$$/Dialogs/ActionProps/Appearance', align_children: align_left, alignment: align_fill)
{
view(align_children: align_top, align: align_fill)
{
view(align_children: align_left)
{
view(align_children: align_row)
{
view(align_children: align_right, width: gMaxAppearanceWidth)
{
static_text(name: '$$$/Dialogs/LinkProps/Type');
}
view(align_children: align_left)
{
popup(item_id: 'ltyp', width: max(gLinkTypeWidth, gLinkHighlightWidth));
}
}
view(align_children: align_row)
{
view(align_children: align_right, width: gMaxAppearanceWidth)
{
static_text(name: '$$$/Dialogs/LinkProps/Highlight');
}
view(align_children: align_left)
{
popup(item_id: 'hlit', width: max(gLinkTypeWidth, gLinkHighlightWidth));
}
}
}
gap(width: max_char_width()*1);
group(item_id: 'grp1')
{
view(align_children: align_row)
{
view(align_children: align_right, width: gMaxWidthColorStyleWid)
{
static_text(name: '$$$/Dialogs/LinkProps/Width');
}
view(align_children: align_left)
{
popup(item_id: 'wdth', width: max(gLinkThicknessWidth, gLinkStyleWidth));
}
}
view(align_children: align_row)
{
view(align_children: align_right, width: gMaxWidthColorStyleWid)
{
static_text(name: '$$$/Dialogs/ActionProps/Color');
}
view(align_children: align_left)
{
button(item_id: 'colr', picture: true, height: 20, width: 22);
}
}
view(align_children: align_row)
{
view(align_children: align_right, width: gMaxWidthColorStyleWid)
{
static_text(name: '$$$/Dialogs/LinkProps/Style');
}
view(align_children: align_left)
{
popup(item_id: 'styl', width: max(gLinkThicknessWidth, gLinkStyleWidth));
}
}
}
}
}
cluster(item_id: 'cls1', name: '$$$/Dialogs/ActionProps/Action', align_children: align_left, alignment: align_fill)
{
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/ActionProps/Type');
popup(item_id: 'type', width: max_char_width() * 15);
}
static_text(item_id: 'inst', height: gStaticTextHeight * 3, width: zstring_width(zstring: '$$$avActionStringOneWidthNoTranslate'));
gap( height: gStaticTextHeight );
static_text(item_id: 'str1', height: gStaticTextHeight * 2, width: zstring_width(zstring: '$$$avActionStringOneWidthNoTranslate'));
view(align_children: align_offscreen)
{
view(align_children: align_row)
{
static_text(item_id: 'mtxt', name: '$$$/Dialogs/ActionProps/Magnification');
popup(item_id: 'zoom', width: gMaxZoomWidth);
}
view(align_children: align_center)
{
button(item_id: 'bttn', width: gEditButtonWidth);
}
}
static_text(item_id: 'str2', height: gStaticTextHeight*3, width: zstring_width(zstring: '$$$avActionStringOneWidthNoTranslate'));
}
ok_cancel(ok_name: '$$$avSetLink');
}
}